package com.yanchangapp.model.response;

public class LoginResponse {

    /**
     * msg : success
     * Authorization : eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjb21wYW55SWQiOjEwMDIyOCwiZGVwYXJ0bWVudElkIjoxMDAyMjgwMDA3LCJlbXBsb3llZUlkIjoxMDAyMjgwMDQzLCJpZCI6MTAwMjI4MDA0MywiZXhwIjoxNTYyMzc2OTg3LCJpYXQiOjE1NjEwODA5ODcsInVzZXJuYW1lIjoid2FuZ3h1ZWppYW8ifQ.KOVG7BJASaUYjaU_vhuamOP-sMnoyoZ6n7wcoQPdcGc
     * code : 0
     * user : {"id":1002280043,"employeeId":1002280043,"username":"wangxuejiao","password":"e10adc3949ba59abbe56e057f20f883e","name":"王雪娇","portrait":"default.jpg","sex":1,"identity":null,"mobile":"","companyId":100228,"departmentId":1002280007,"type":null,"status":1,"leadingFlag":null,"sort":1002280043,"companyName":"中健之康供应链服务有限责任公司","employeeStatus":0,"departmentName":"采购部","leadingPerson":null,"emailDomain":"extmed.com","smsCode":null,"operationTime":null,"createTime":"2019-06-19 14:23:02","updateTime":null,"createId":null,"updateId":null,"deleteFlag":0,"positionId":1002280175,"positionName":"采购部负责人","logo":"https://ftpuat.wjsci.com/file/base/company/logo/8711210646df45bca1de155bdafff68c_qiaojiesifang.png","companyType":11}
     */

    private String msg;
    private String Authorization;
    private int code;
    private UserBean user;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getAuthorization() {
        return Authorization;
    }

    public void setAuthorization(String Authorization) {
        this.Authorization = Authorization;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }

    public static class UserBean {
        /**
         * id : 1002280043
         * employeeId : 1002280043
         * username : wangxuejiao
         * password : e10adc3949ba59abbe56e057f20f883e
         * name : 王雪娇
         * portrait : default.jpg
         * sex : 1
         * identity : null
         * mobile :
         * companyId : 100228
         * departmentId : 1002280007
         * type : null
         * status : 1
         * leadingFlag : null
         * sort : 1002280043
         * companyName : 中健之康供应链服务有限责任公司
         * employeeStatus : 0
         * departmentName : 采购部
         * leadingPerson : null
         * emailDomain : extmed.com
         * smsCode : null
         * operationTime : null
         * createTime : 2019-06-19 14:23:02
         * updateTime : null
         * createId : null
         * updateId : null
         * deleteFlag : 0
         * positionId : 1002280175
         * positionName : 采购部负责人
         * logo : https://ftpuat.wjsci.com/file/base/company/logo/8711210646df45bca1de155bdafff68c_qiaojiesifang.png
         * companyType : 11
         */

        private int id;
        private Integer employeeId;
        private String username;
        private String password;
        private String name;
        private String portrait;
        private int sex;
        private Object identity;
        private String mobile;
        private int companyId;
        private int departmentId;
        private Object type;
        private int status;
        private Object leadingFlag;
        private int sort;
        private String companyName;
        private int employeeStatus;
        private String departmentName;
        private Object leadingPerson;
        private String emailDomain;
        private Object smsCode;
        private Object operationTime;
        private String createTime;
        private Object updateTime;
        private Object createId;
        private Object updateId;
        private int deleteFlag;
        private String positionName;
        private String logo;
        private int companyType;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public Integer getEmployeeId() {
            return employeeId;
        }

        public void setEmployeeId(int employeeId) {
            this.employeeId = employeeId;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPortrait() {
            return portrait;
        }

        public void setPortrait(String portrait) {
            this.portrait = portrait;
        }

        public int getSex() {
            return sex;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public Object getIdentity() {
            return identity;
        }

        public void setIdentity(Object identity) {
            this.identity = identity;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public int getCompanyId() {
            return companyId;
        }

        public void setCompanyId(int companyId) {
            this.companyId = companyId;
        }

        public int getDepartmentId() {
            return departmentId;
        }

        public void setDepartmentId(int departmentId) {
            this.departmentId = departmentId;
        }

        public Object getType() {
            return type;
        }

        public void setType(Object type) {
            this.type = type;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public Object getLeadingFlag() {
            return leadingFlag;
        }

        public void setLeadingFlag(Object leadingFlag) {
            this.leadingFlag = leadingFlag;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public String getCompanyName() {
            return companyName;
        }

        public void setCompanyName(String companyName) {
            this.companyName = companyName;
        }

        public int getEmployeeStatus() {
            return employeeStatus;
        }

        public void setEmployeeStatus(int employeeStatus) {
            this.employeeStatus = employeeStatus;
        }

        public String getDepartmentName() {
            return departmentName;
        }

        public void setDepartmentName(String departmentName) {
            this.departmentName = departmentName;
        }

        public Object getLeadingPerson() {
            return leadingPerson;
        }

        public void setLeadingPerson(Object leadingPerson) {
            this.leadingPerson = leadingPerson;
        }

        public String getEmailDomain() {
            return emailDomain;
        }

        public void setEmailDomain(String emailDomain) {
            this.emailDomain = emailDomain;
        }

        public Object getSmsCode() {
            return smsCode;
        }

        public void setSmsCode(Object smsCode) {
            this.smsCode = smsCode;
        }

        public Object getOperationTime() {
            return operationTime;
        }

        public void setOperationTime(Object operationTime) {
            this.operationTime = operationTime;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public Object getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(Object updateTime) {
            this.updateTime = updateTime;
        }

        public Object getCreateId() {
            return createId;
        }

        public void setCreateId(Object createId) {
            this.createId = createId;
        }

        public Object getUpdateId() {
            return updateId;
        }

        public void setUpdateId(Object updateId) {
            this.updateId = updateId;
        }

        public int getDeleteFlag() {
            return deleteFlag;
        }

        public void setDeleteFlag(int deleteFlag) {
            this.deleteFlag = deleteFlag;
        }

        public String getPositionName() {
            return positionName;
        }

        public void setPositionName(String positionName) {
            this.positionName = positionName;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public int getCompanyType() {
            return companyType;
        }

        public void setCompanyType(int companyType) {
            this.companyType = companyType;
        }
    }
}
